<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>系统配置</title>
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
</head>
<body>
    <script>
        function openSystem() {
            var virtualSpace = document.getElementById("virtualSpace").value
            var pyhsicsSpace = document.getElementById("pyhsicsSpace").value
		var url = "http://localhost:8080/open-system?virtualSpace="
		url = url.concat(virtualSpace)
		url = url.concat("&pyhsicsSpace=")
		url = url.concat(pyhsicsSpace)
            window.location.href =url;
            }
    </script>
    <!--请求测试-->
    <h1><span>虚拟内存：</span><input id="virtualSpace" placeholder="输入虚拟内存大小" value="15"></h1>
    <h1><span>物理内存：</span><input id="pyhsicsSpace" placeholder="输入物理内存大小" value="6"></h1>
    <button onclick="openSystem()">开启系统</button>
</body>
</html>